﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<style type="text/css">
body {
 margin: 30px auto;
}
ul {
 list-style: none;
}
#faq {
 font-size: 12px;
 width: 100%;
}
#faq li {
 margin: 0 0 10px;
 padding: 0 0 5px;
}
#faq dl {
 margin: 0;
 padding:0;
 display:inline;
}
#faq dt {
 font-weight:bold;
 cursor:pointer;
 line-height: 20px;
 padding: 0 0 5px 22px;
 border-bottom:1px #ccc dotted;
}
#faq dd {
 display:none;
 margin:0;
 padding: 5px 0 5px 20px;
 background:#E5ECF9;
 line-height: 180%;
}
</style>
<script type="text/javascript">
var lastFaqClick=null;
window.onload=function(){
  var faq=document.getElementById("faq");
  var dls=faq.getElementsByTagName("dl");
  for (var i=0,dl;dl=dls[i];i++){
    var dt=dl.getElementsByTagName("dt")[0];//取得标题
     dt.id = "faq_dt_"+(Math.random()*100);
     dt.onclick=function(){
       var p=this.parentNode;//取得父节点
        if (lastFaqClick!=null&&lastFaqClick.id!=this.id){
          var dds=lastFaqClick.parentNode.getElementsByTagName("dd");
          for (var i=0,dd;dd=dds[i];i++)
            dd.style.display='none';
        }
        lastFaqClick=this;
        var dds=p.getElementsByTagName("dd");//取得对应子节点，也就是说明部分
        var tmpDisplay='none';
        if (gs(dds[0],'display')=='none')
          tmpDisplay='block';
        for (var i=0;i<dds.length;i++)
          dds[i].style.display=tmpDisplay;
      }
  }
}

function gs(d,a){
  if (d.currentStyle){
    var curVal=d.currentStyle[a]
  }else{
    var curVal=document.defaultView.getComputedStyle(d, null)[a]
  }
  return curVal;
}
</script>
<div class="hd-top">
    <div class="hd-top-con">
        <a href="javascript:" class="back">返回</a>
        <strong>个人中心</strong>
        <a href="Login.aspx?q=quit" class="quit">退出帐号</a>     </div>
</div>
<!-- 内容 -->
<div class="content">
    <div class="personal-wrap row">
						<div class="psn-con">
            <div class="psn-info">
                <a href="Photo.aspx">
                    <div class="info-pto">
                        <div class="pto lazy" data-original="#"><asp:Image runat="server" ID="Photos" /></div>						 
                    </div>
                 </a>
                    <div class="info-con row">
						<strong class="name boy-clr">
						<asp:Label runat="server" ID="UserName"></asp:Label>							
						<i class="btn-bg boy">&nbsp;</i></strong> 
						<!--<div class="star-wrap"><span class="btn-bg star"></span></div>-->
						<div class="grade"><span class="grade-ft">部门：</span><asp:Label runat="server" ID="Department"></asp:Label></div>
						<div class="grade"><span class="grade-ft">职务：</span><asp:Label runat="server" ID="Appointment"></asp:Label></div>
						<div class="grade"><span class="grade-ft">工龄：</span><asp:Label runat="server" ID="employed"></asp:Label></div>
						<!--<div class="grade"><span class="grade-ft">状态：</span><asp:Label runat="server" ID="states"></asp:Label></div>-->
					</div>	
                    <div class="info-num row">
                        <ul>
                            <li>                                
                                <asp:Label runat="server" ID="nxjts" CssClass="num"></asp:Label>
                                <span class="num-ft">年假已休/未休</span>
                                <i class="bd-rt"></i>
                            </li>
                            <li>                                
                                <asp:Label runat="server" ID="sjts" CssClass="num"></asp:Label>
                                <span class="num-ft">事假</span>
                                <i class="bd-rt"></i>
                            </li>
                            <li>
                                <asp:Label runat="server" ID="bjts" CssClass="num"></asp:Label>
                                <span class="num-ft">病假</span>
                                <i class="bd-rt"></i>
                            </li>
                            <li>
                                <asp:Label runat="server" ID="kgts" CssClass="num"></asp:Label>
                                <span class="num-ft">旷工</span>
                            </li>
                        </ul>
                    </div>
                    <i class="btn-bg link-bg"></i>
                    <i class="info-bd"></i>

					<div><ul id="Ul1"><li style="color:Green"><asp:Label runat="server" ID="AttInfo"></asp:Label></li></ul></div>
            </div>


            <div class="psn-sign row">
                <div class="psn-sign-con">
                    <div class="psn-sign-cmn">
                        <a href="Myinfo.aspx">
                        <i class="btn-bg icon04"></i>
                        <i class="btn-bg icon02"></i>
                        <span class="sign-ft">我的信息</span>
                        </a>
                    </div>
                    <div class="psn-sign-cmn">
                        <a href="Repass.aspx">
                        <i class="btn-bg icon04"></i>
                        <i class="btn-bg icon02"></i>
                        <span class="sign-ft">修改密码</span>
                        </a>
                    </div>
                    <div class="psn-sign-cmn">
                        <a href="Laborage.aspx" id="signbtn">
                            <i class="btn-bg icon01 icon-loading-black loading-animate"></i>
                            <i class="btn-bg icon02"></i>
                            <span class="sign-ft">我的工资</span>
                        </a>
                    </div>
                    <div class="psn-sign-cmn">
                        <a href="Contacts.aspx" id="signbtn">
                            <i class="btn-bg icon01 icon-loading-black loading-animate"></i>
                            <i class="btn-bg icon02"></i>
                            <span class="sign-ft">通讯录</span>
                        </a>
                    </div>
                    <div class="psn-sign-cmn">
                        <a href="Attendance.aspx">
                        <i class="btn-bg icon04"></i>
                        <i class="btn-bg icon02"></i>
                        <span class="sign-ft">休假详情</span>
                        </a>
                    </div>
                    <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                </div>
            </div>
        </div>

		 <div class="psn-post">		 
            <div class="psn-tag">
                <div class="tag-con row">
                    <span class="tag slted" id="md_her">内部通知公告</span>
                </div>
            </div>
			<!--
				<div class="nolist">
					<div class="no-msg">暂无内容</div>
				</div>
			-->			
			        <!-- 分页 -->
			<div class="post-list">
                <ul id="faq">                  
                <asp:Label ID="NotifyInfo" runat="server"></asp:Label>					
				</ul>
            </div>	
		        </div>
            </div>
</div>
<!-- 内容 end -->
<div class="hd-top hd-top-bd">
    <div class="hd-top-con">
        <a class="back" href="javascript:">返回</a>
        <strong>个人中心</strong>
    </div>
</div>
</asp:Content>
